package com.xinyue.ext.data;

import java.util.List;

public class FinderData {

	/**方法名称*/
	private String method;
	/**返回类型*/
	private String returnType;
	/**参数类型及信息*/
	private String params;
	/**查询语句*/
	private String state;
	/**entity标签下的查询条件*/
	private List<String> paramSetter;
	
	/**用于在入参类型为Map时，匹配参数并植入SQL语句*/
	private String paramArray;
	
	/**是否是查询语句*/
	private boolean query;
	/**是否返回唯一的对象*/
	private boolean only;
	/**是否强制转换返回类型*/
	private boolean convert;
	/**是否在方法前添加标注@SuppressWarnings("unchecked")*/
	private boolean warning;
	
	//getter setter
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getReturnType() {
		return returnType;
	}
	public void setReturnType(String returnType) {
		this.returnType = returnType;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public List<String> getParamSetter() {
		return paramSetter;
	}
	public void setParamSetter(List<String> paramSetter) {
		this.paramSetter = paramSetter;
	}
	public String getParamArray() {
		return paramArray;
	}
	public void setParamArray(String paramArray) {
		this.paramArray = paramArray;
	}
	public boolean isWarning() {
		return warning;
	}
	public void setWarning(boolean warning) {
		this.warning = warning;
	}
	public boolean isOnly() {
		return only;
	}
	public void setOnly(boolean only) {
		this.only = only;
	}
	public boolean isConvert() {
		return convert;
	}
	public void setConvert(boolean convert) {
		this.convert = convert;
	}
	public boolean isQuery() {
		return query;
	}
	public void setQuery(boolean query) {
		this.query = query;
	}
}
